package com.aaa.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author chenjian
 * @since 2021-11-25
 */
@TableName("tbl_character_result")
public class CharacterResult extends Model<CharacterResult> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键自增
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 测试人员id
     */
	@TableField("tester_id")
	private Integer testerId;
    /**
     * 测试题id
     */
	@TableField("question_id")
	private Integer questionId;
	@TableField("result")
	private String result;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTesterId() {
		return testerId;
	}

	public void setTesterId(Integer testerId) {
		this.testerId = testerId;
	}

	public Integer getQuestionId() {
		return questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
